package main

import "time"

func main() {
	exit := make(chan string)

	go func() {
		time.Sleep(time.Second)
		println("goroutline done.")

		//close(exit)
		exit <- "enen"
	}()

	println("main ...")
	<-exit
	println("main exit ...")
}
